import request from '@/utils/request'
const prefix = ''

// 新增
function saveNewMediaAll(data) {
  return request({
    url: prefix + 'gnmpp/saveNewMedia',
    method: 'post',
    data
  })
}
// 查询
function searchListAll(data) {
  return request({
    url: prefix + 'gnmpp/searchList',
    method: 'post',
    data
  })
}

// 删除
function deleteNewMediaAll(data) {
    return request({
        url: prefix + 'gnmpp/deleteNewMedia',
        method: 'delete',
        params: data
    })
}

export default {
    searchListAll,
    saveNewMediaAll,
    deleteNewMediaAll
}